package mr.zhang.pojo.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TCustomer entity. @author MyEclipse Persistence Tools
 */

public class TCustomer implements java.io.Serializable {

	// Fields
   //客户id
	private Integer id;
	//客户所属置业顾问
	private TCounselor TCounselor;
	//客户状态
	private TCustomerState TCustomerState;
	//客户姓名
	private String customerName;
	//客户电话1
	private String cellphone1;
	//客户电话2
	private String cellphone2;
	//媒体途径
	private Integer mediaChannelsId;
	//来访时间
	private Date respectsTime;
	//客户年龄
	private Integer age;
	//客户身份证号码
	private String idCardNo;
	//客户性质
	private String customerProperty;
	//客户家庭住址
	private String address;
	//客户工作单位
	private String jobAddress;
	//客户目前居住面积
	private Integer currentResidentialArea;
	//客户购房原因
	private String purchaseReasons;
	//客户是否来电转来访
	private Boolean isTelegramToCall;
	//客户来访次数
	private Integer comeToNumner;
	//客户是否已购房
	private Boolean isPurchase;
	//客户从事行业
	private String engaged;
	//客户从事职业
	private String job;
	//客户家庭结构
	private Integer familyStructure;
	//客户年收入
	private Integer annualEarnings;

    private String customerPlay;

    private java.sql.Date createTime;

    public java.sql.Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(java.sql.Date createTime) {
        this.createTime = createTime;
    }

    public String getCustomerPlay() {
        return customerPlay;
    }

    public void setCustomerPlay(String customerPlay) {
        this.customerPlay = customerPlay;
    }

    //客户意向
	private Set TCustomerIntentions = new HashSet(0);

	// Constructors

	/** default constructor */
	public TCustomer() {
	}

	/** full constructor */
	public TCustomer(TCounselor TCounselor, TCustomerState TCustomerState,
			String customerName, String cellphone1, String cellphone2,
			Integer mediaChannelsId, Date respectsTime, Integer age,
			String idCardNo, String customerProperty, String address,
			String jobAddress, Integer currentResidentialArea,
			String purchaseReasons, Boolean isTelegramToCall,
			Integer comeToNumner, Boolean isPurchase, String engaged,
			String job, Integer familyStructure, Integer annualEarnings, String customerPlay, java.sql.Date createTime,
			Set TCustomerIntentions ) {
		this.TCounselor = TCounselor;
		this.TCustomerState = TCustomerState;
		this.customerName = customerName;
		this.cellphone1 = cellphone1;
		this.cellphone2 = cellphone2;
		this.mediaChannelsId = mediaChannelsId;
		this.respectsTime = respectsTime;
		this.age = age;
		this.idCardNo = idCardNo;
		this.customerProperty = customerProperty;
		this.address = address;
		this.jobAddress = jobAddress;
		this.currentResidentialArea = currentResidentialArea;
		this.purchaseReasons = purchaseReasons;
		this.isTelegramToCall = isTelegramToCall;
		this.comeToNumner = comeToNumner;
		this.isPurchase = isPurchase;
		this.engaged = engaged;
		this.job = job;
		this.familyStructure = familyStructure;
		this.annualEarnings = annualEarnings;
        this.customerPlay = customerPlay;
        this.createTime = createTime;
		this.TCustomerIntentions = TCustomerIntentions;

	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TCounselor getTCounselor() {
		return this.TCounselor;
	}

	public void setTCounselor(TCounselor TCounselor) {
		this.TCounselor = TCounselor;
	}

	public TCustomerState getTCustomerState() {
		return this.TCustomerState;
	}

	public void setTCustomerState(TCustomerState TCustomerState) {
		this.TCustomerState = TCustomerState;
	}

	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCellphone1() {
		return this.cellphone1;
	}

	public void setCellphone1(String cellphone1) {
		this.cellphone1 = cellphone1;
	}

	public String getCellphone2() {
		return this.cellphone2;
	}

	public void setCellphone2(String cellphone2) {
		this.cellphone2 = cellphone2;
	}

	public Integer getMediaChannelsId() {
		return this.mediaChannelsId;
	}

	public void setMediaChannelsId(Integer mediaChannelsId) {
		this.mediaChannelsId = mediaChannelsId;
	}

	public Date getRespectsTime() {
		return this.respectsTime;
	}

	public void setRespectsTime(Date respectsTime) {
		this.respectsTime = respectsTime;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getIdCardNo() {
		return this.idCardNo;
	}

	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo;
	}

	public String getCustomerProperty() {
		return this.customerProperty;
	}

	public void setCustomerProperty(String customerProperty) {
		this.customerProperty = customerProperty;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getJobAddress() {
		return this.jobAddress;
	}

	public void setJobAddress(String jobAddress) {
		this.jobAddress = jobAddress;
	}

	public Integer getCurrentResidentialArea() {
		return this.currentResidentialArea;
	}

	public void setCurrentResidentialArea(Integer currentResidentialArea) {
		this.currentResidentialArea = currentResidentialArea;
	}

	public String getPurchaseReasons() {
		return this.purchaseReasons;
	}

	public void setPurchaseReasons(String purchaseReasons) {
		this.purchaseReasons = purchaseReasons;
	}

	public Boolean getIsTelegramToCall() {
		return this.isTelegramToCall;
	}

	public void setIsTelegramToCall(Boolean isTelegramToCall) {
		this.isTelegramToCall = isTelegramToCall;
	}

	public Integer getComeToNumner() {
		return this.comeToNumner;
	}

	public void setComeToNumner(Integer comeToNumner) {
		this.comeToNumner = comeToNumner;
	}

	public Boolean getIsPurchase() {
		return this.isPurchase;
	}

	public void setIsPurchase(Boolean isPurchase) {
		this.isPurchase = isPurchase;
	}

	public String getEngaged() {
		return this.engaged;
	}

	public void setEngaged(String engaged) {
		this.engaged = engaged;
	}

	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Integer getFamilyStructure() {
		return this.familyStructure;
	}

	public void setFamilyStructure(Integer familyStructure) {
		this.familyStructure = familyStructure;
	}

	public Integer getAnnualEarnings() {
		return this.annualEarnings;
	}

	public void setAnnualEarnings(Integer annualEarnings) {
		this.annualEarnings = annualEarnings;
	}

	public Set getTCustomerIntentions() {
		return this.TCustomerIntentions;
	}

	public void setTCustomerIntentions(Set TCustomerIntentions) {
		this.TCustomerIntentions = TCustomerIntentions;
	}


}